using System;

namespace AdvancedGod.People.Couples
{
  /// <summary>
  /// Exception about attribute absence
  /// </summary>
  public class NoAttributeException : Exception
  {
    #region public properties
    /// <summary>
    /// First vlass type
    /// </summary>
    public Type ClassType1 { get; private set; }

    /// <summary>
    /// Second class type
    /// </summary>
    public Type ClassType2 { get; private set; }
    #endregion

    #region public methods
    /// <summary>
    /// Constructor
    /// </summary>
    /// <param name="classType1">type of first people who took part in 
    /// coupling</param>
    /// <param name="classType2">type of second people who took part in 
    /// coupling</param>
    public NoAttributeException(Type classType1, Type classType2)
    {
      ClassType1 = classType1;
      ClassType2 = classType2;
    }
    #endregion
  }
}